<%@ Page Language="C#" AutoEventWireup="true" CodeFile="DataListNextPrevious.aspx.cs" Inherits="DataListNextPrevious" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>Untitled Page</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <div>
            <table width="50%">
                <tr>
                    <td style="width: 432px">
                    </td>
                </tr>
                <tr>
                    <td style="width: 432px">
                        <asp:DataList ID="DataList1" runat="server" RepeatColumns="3" RepeatDirection="Horizontal"
                            Width="622px">
                            <ItemTemplate>
                                <asp:Label ID="Label2" runat="server" Font-Bold="True" Text='<%# Bind("CompanyName") %>'
                                    Width="220px"></asp:Label><br />
                                <asp:Label ID="Label1" runat="server" Text='<%# Bind("Email") %>' Width="220px"></asp:Label>
                                <br />
                                <asp:Label ID="Label3" runat="server" Text='<%# Bind("Address") %>' Width="220px"></asp:Label><br />
                                <asp:Label ID="Label4" runat="server" Text='<%# Bind("Phone") %>' Width="220px"></asp:Label><br />
                                <br />
                            </ItemTemplate>
                        </asp:DataList>
                    </td>
                </tr>
                <tr>
                    <td style=" height: 27px; text-align: left">
                        <table align="right" style="width: 100%">
                            <tr>
                                <td align="left" colspan="2" style="height: 21px">
                                    <hr width="100%" />
                                    &nbsp;</td>
                            </tr>
                            <tr>
                                <td align="left" style="width: 10%; height: 21px">
                                    Page:
                                    <asp:Label ID="lblPage" runat="server" Font-Name="verdana" Font-Names="verdana" Font-Size="10pt"
                                        Width="64px">1</asp:Label>
                                </td>
                                <td nowrap="nowrap" style="font-size: 12pt; width: 24%; font-family: Times New Roman;
                                    height: 21px; text-align: right">
                                    &nbsp;&nbsp;
                                    <asp:LinkButton ID="linkPrevious" runat="server" OnClick="linkPrevious_Click">Previous</asp:LinkButton>
                                    &nbsp;
                                    <asp:LinkButton ID="linkNext" runat="server" OnClick="linkNext_Click">Next</asp:LinkButton>&nbsp;
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
            </table>
            &nbsp;
        </div>
    
    </div>
    </form>
</body>
</html>
